//
//  AllTypeModel.m
//  Kaoshiti
//
//  Created by lanou3g on 15/10/22.
//  Copyright (c) 2015年 张蒙恩. All rights reserved.
//

#import "AllTypeModel.h"

@implementation AllTypeModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.title forKey:@"title"];
    [aCoder encodeObject:self.stype forKey:@"stype"];
    [aCoder encodeObject:self.imageName forKey:@"imageName"];
    
}
- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    if (self) {
        self.title = [aDecoder decodeObjectForKey:@"title"];
        self.stype = [aDecoder decodeObjectForKey:@"stype"];
        self.imageName = [aDecoder decodeObjectForKey:@"imageName"];
    }
    return self;
}
@end
